﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Benefit.Models.Week;
namespace Benefit.Interface.Week
{
    /// <summary>
    /// 账户周均值
    /// </summary>
    public interface IAccountAvgWeek
    {
        /// <summary>
        /// 删除当日所有记录
        /// </summary>
        /// <param name="weekId"></param>
        void Delete(int weekId, int month, int year);

        /// <summary>
        /// 保存账号周均值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitAccountWeekAvg(int weekId, int month, int year);

        /// <summary>
        /// 获取账号周均值
        /// </summary>
        /// <param name="accountid"></param>
        /// <param name="tradeHistoryId"></param>
        /// <returns></returns>
        AccountAvgWeek GetAccountAvgWeek(int accountid, int month, int week, int year);
    }
}